<?php
//Set charset
header('Content-Type: text/html; charset=utf-8'); //Charset utf-8

//Set database variables
define('DB_USE','mysql'); //Type of database
define('DB_HOST','localhost'); //Host of database
define('DB_USER','test'); //Name of database user
define('DB_PASSWORD','test'); //User password
define('DB_NAME','booker'); //name of database

//Set path variables
define('LIB','./lib/'); //Path to library folder
define('CONTROLLERS_DIR',LIB.'controllers/'); //Path to folder with controllers
define('MODELS_DIR',LIB.'models/'); //Path to folder with model's file
define('TEMPLATES_DIR','./templates/'); //Path to folder with view-templates

//Calendar settings
define('BOARDROOM_COUNT',3); //Count of boardroom
define('TIME_TYPE','12'); // Type of time view ('12' or '24')
define('FIRST_DAY','sunday'); // First day of week ('monday' or 'sunday')
define('COUNT_YEARS',5); //Max count of years for add appointmnets action

//Router settings
define('INDEX_CONTROLLER','Calendar'); //Name of default controller
define('INDEX_ACTION','index'); //Name of default action

//Security settings
define('ADMIN_LOGIN','admin'); //Administrator login
define('ADMIN_PASSWORD','cca8dd8babd4c9996c8dfee788a49d18'); //Administrator password
define('ADMIN_EMAIL','admin@boardroom.booker'); //Administrator email

//View settings
define('MAIN_TEMPLATE',TEMPLATES_DIR.'template.html'); //Path to main template

	
